package org.zfes.snowier.cloud.zbss.cms.words.service;

import java.util.List;
import java.util.Map;
import java.util.Optional;
import org.zfes.snowier.core.data.DataSet;
import org.zfes.snowier.cloud.zbss.cms.words.model.CmsWordsHot;
public interface ICmsWordsHotService{

	 Optional<CmsWordsHot> loadCmsWordsHotById(Long id);
	
	 void createCmsWordsHot(CmsWordsHot cmsWordsHot);
	
	 void updateCmsWordsHot(CmsWordsHot cmsWordsHot);

	 void deleteCmsWordsHot(Long id);
	
	 DataSet loadCmsWordsHotDataSet(Map<String, Object> params);
	  
	//查看某热词是否存在
	 Optional<CmsWordsHot> selectByWords(String words);
	 
	 //某个站点热点列表
     List<CmsWordsHot> loadCmsWordsHotBySiteId(Long sideId);
     
 	void setCmsWordsHotStatus(Long id, Byte status);
}